package com.ruoyi.project.module.item.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.framework.web.domain.BaseEntity;

import java.math.BigDecimal;
import java.util.Date;

/**
 * 商品表 sys_item
 * 
 * @author ruoyi
 * @date 2018-08-06
 */
public class Item extends BaseEntity
{
	private static final long serialVersionUID = 1L;
	
	/**  */
	private Integer itemId;
	/** 物品名称 */
	private String itemName;
	/** 商品链接 */
	private String itemHref;
	/** 价格 */
	private String itemPrice;
	/** 商品EAN */
	private String itemEan;
	/**  */
	private Date createTime;
	/**  */
	private Date updateTime;

	public void setItemId(Integer itemId) 
	{
		this.itemId = itemId;
	}

	public Integer getItemId() 
	{
		return itemId;
	}
	public void setItemName(String itemName) 
	{
		this.itemName = itemName;
	}

	public String getItemName() 
	{
		return itemName;
	}
	public void setItemHref(String itemHref) 
	{
		this.itemHref = itemHref;
	}

	public String getItemHref() 
	{
		return itemHref;
	}
	public void setItemPrice(String itemPrice)
	{
		this.itemPrice = itemPrice;
	}

	public String getItemPrice()
	{
		return itemPrice;
	}
	public void setItemEan(String itemEan) 
	{
		this.itemEan = itemEan;
	}

	public String getItemEan() 
	{
		return itemEan;
	}
	public void setCreateTime(Date createTime) 
	{
		this.createTime = createTime;
	}

	public Date getCreateTime() 
	{
		return createTime;
	}
	public void setUpdateTime(Date updateTime) 
	{
		this.updateTime = updateTime;
	}

	public Date getUpdateTime() 
	{
		return updateTime;
	}

    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("itemId", getItemId())
            .append("itemName", getItemName())
            .append("itemHref", getItemHref())
            .append("itemPrice", getItemPrice())
            .append("itemEan", getItemEan())
            .append("createTime", getCreateTime())
            .append("updateTime", getUpdateTime())
            .toString();
    }
}
